package dao;

import entity.News;
import java.sql.SQLException;
import java.util.List;

public interface NewsDao {
     int insertNews(News news) throws SQLException;
     List<News> findAllNews() throws SQLException;
     List<News> findLikes(String args) throws SQLException;
     List<News> findNewsByName(String username) throws SQLException;
}
